Optimal. Leaf size=73 \[ -\frac{x^{m-1} \left (a+\frac{b}{x}\right )^n \left (\frac{b}{a x}+1\right )^{-n} F_1\left (1-m;-n,2;2-m;-\frac{b}{a x},-\frac{c}{d x}\right )}{d^2 (1-m)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0708469, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {514, 497, 135, 133} \[ -\frac{x^{m-1} \left (a+\frac{b}{x}\right )^n \left (\frac{b}{a x}+1\right )^{-n} F_1\left (1-m;-n,2;2-m;-\frac{b}{a x},-\frac{c}{d x}\right )}{d^2 (1-m)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 514
Rule 497
Rule 135
Rule 133
Rubi steps
\begin{align*} \int \frac{\left (a+\frac{b}{x}\right )^n x^m}{(c+d x)^2} \, dx &=\int \frac{\left (a+\frac{b}{x}\right )^n x^{-2+m}}{\left (d+\frac{c}{x}\right )^2} \, dx\\ &=-\left (\left (\left (\frac{1}{x}\right )^m x^m\right ) \operatorname{Subst}\left (\int \frac{x^{-m} (a+b x)^n}{(d+c x)^2} \, dx,x,\frac{1}{x}\right )\right )\\ &=-\left (\left (\left (a+\frac{b}{x}\right )^n \left (1+\frac{b}{a x}\right )^{-n} \left (\frac{1}{x}\right )^m x^m\right ) \operatorname{Subst}\left (\int \frac{x^{-m} \left (1+\frac{b x}{a}\right )^n}{(d+c x)^2} \, dx,x,\frac{1}{x}\right )\right )\\ &=-\frac{\left (a+\frac{b}{x}\right )^n \left (1+\frac{b}{a x}\right )^{-n} x^{-1+m} F_1\left (1-m;-n,2;2-m;-\frac{b}{a x},-\frac{c}{d x}\right )}{d^2 (1-m)}\\ \end{align*}
Mathematica [F] time = 0.0712447, size = 0, normalized size = 0. \[ \int \frac{\left (a+\frac{b}{x}\right )^n x^m}{(c+d x)^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.561, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{m}}{ \left ( dx+c \right ) ^{2}} \left ( a+{\frac{b}{x}} \right ) ^{n}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a + \frac{b}{x}\right )}^{n} x^{m}}{{\left (d x + c\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{m} \left (\frac{a x + b}{x}\right )^{n}}{d^{2} x^{2} + 2 \, c d x + c^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m} \left (a + \frac{b}{x}\right )^{n}}{\left (c + d x\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a + \frac{b}{x}\right )}^{n} x^{m}}{{\left (d x + c\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]